package com.cn.web.role.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cn.role.RoleDO;
import com.cn.web.role.vo.RoleSearch;
import com.cn.web.role.vo.RoleVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * description: RoleMapper <br>
 * date: 21.12.16 10:41 <br>
 * author: cn_yaojin <br>
 * version: 1.0 <br>
 */
@Mapper
public interface RoleMapper extends BaseMapper<RoleDO> {

    void update(RoleDO roleEntity);

    List<RoleVO> list(RoleSearch search);

    List<RoleDO> listRoleByAppId(Object pd);
}
